package com.gusha.dao;

import java.math.BigInteger;
import java.util.Date;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.data.jpa.repository.Query;
import org.springframework.stereotype.Repository;
import com.gusha.model.SysTraining;

@Repository
public interface SysTrainingDao extends JpaRepository<SysTraining,BigInteger>,JpaSpecificationExecutor<SysTraining> {

	SysTraining findAllById(BigInteger bigInteger);
//	@Query(value="insert into SysTraining (addName, addTime, describe) values (?1, ?2, ?3)")
//	void  save(String addName, Date date, String describe);
}
